package main;
import java.util.Scanner;
public class power {
    public static void main(String[] args) {
        Scanner power = new Scanner(System.in);
        System.out.println("请输入整数B和有理数A");
        System.out.print("请输入你的底数A:");
        double a = power.nextDouble();
        System.out.print("请输入你的指数B:");
        int b = power.nextInt();
        double s = 1;
        for (double c = 1; c <= b ; c++) {
            s=s*a;}
        System.out.println(s);
    }




    }

